<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>只是一个测试</p>
    <button class="btn" style="background-color: skyblue;flood-color: brown; ">预测</button>
</body>
<script>
    // document.querySelector(".btn").onclick=()=>{
    //     alert('编码圣体')
    // }
    document.querySelector(".btn").addEventListener("click" ,()=>{
        alert('编码圣体')
    })

</script>
</html>